HaruFont
PHP Manual

HaruFont::getUnicodeWidth

(PECL haru >= 0.0.1)

HaruFont::getUnicodeWidthGet the width of the character in the font

Descripción

int HaruFont::getUnicodeWidth ( int $character )

Get the width of the character in the font.

Lista de parámetros

character

The code of the character.

Valores retornados

Returns the width of the character in the font.

Errors/Exceptions

Throws a HaruException on error.


HaruFont
PHP Manual